#ifndef LEAVEROOMREQ_H
#define LEAVEROOMREQ_H

#include "simpleprotosrv.h"
#include "roommanager.h"
#include "tetrixserver.h"

class LeaveRoomReq : public SimpleProtoSrv
{
public:
    LeaveRoomReq() : SimpleProtoSrv(PT_LEAVE_ROOM) {}
    LeaveRoomReq(const std::string &room);

    ProtoSrv* decode(ACE_InputCDR &cdr);
    ProtoSrv* execute(ACE_SOCK_Stream &peer);
};


#endif // LEAVEROOMREQ_H
